package exceptions;

import bar.Bar;
import bar.Lug;

public class EqualLugsException extends RuntimeException {
    private static final long serialVersionUID = -8417016608744430461L;
    private Lug lug;
    private Bar bar;
    public EqualLugsException(Bar bar,Lug lug){
	this.lug = lug;
	this.bar = bar;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
	return "EqualLugsException for "+ bar+ ": " + lug ;
    }
    
}
